﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FirmaTransportowa
{
    public class Client
    {
        public int id;
        public String name, surname, postcode, city, street, house_number, phone;
        public Client(int id, string name, string surname, string postcode, string city, string street, string house_number, string phone)
        {
            this.id = id;
            this.name = name;
            this.surname = surname;
            this.postcode = postcode;
            this.city = city;
            this.street = street;
            this.house_number = house_number;
            this.phone = phone;
        }

        public string DisplayText
        {
            get
            {
                return this.name + " " + this.surname;
            }
        }

        public int ReturnValue
        {
            get
            {
                return this.id;
            }
        }

    }
}
